package com.jinlingxiu.app.mvp.presenter

import com.jinlingxiu.app.mvp.contract.NoPassContract
import com.xdja.easymvp.mvp.BasePresenter
import kotlinx.coroutines.delay

/**
 * 描述:
 * Create by yuanwanli
 * Date 2020/09/11
 */
class NoPassPresenter(model: NoPassContract.Model, rootView: NoPassContract.View) :
    BasePresenter<NoPassContract.Model, NoPassContract.View>(model, rootView) {
    fun getSolution() {
        launch {
            delay(8000)
            mRootView?.jumpSolution()
        }
    }

}
